﻿<%@ Page Language="C#" AutoEventWireup="true" CodeBehind="Login.aspx.cs" Inherits="webSGA.Login" %>

<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head runat="server">
    <title>Ingreso al Sistema - Sistema de Gestión Administrativa</title>
    <link href="bootstrap/css/bootstrap.css" rel="stylesheet" type="text/css" />
    <link href="bootstrap/css/bootstrap-responsive.css" rel="stylesheet" type="text/css" />
    <link rel="shortcut icon" href="bootstrap/ico/favicon.ico" />
    <link rel="apple-touch-icon-precomposed" sizes="144x144" href="bootstrap/ico/apple-touch-icon-144-precomposed.png" />
    <link rel="apple-touch-icon-precomposed" sizes="114x114" href="bootstrap/ico/apple-touch-icon-114-precomposed.png" />
    <link rel="apple-touch-icon-precomposed" sizes="72x72" href="bootstrap/ico/apple-touch-icon-72-precomposed.png" />
    <link rel="apple-touch-icon-precomposed" href="bootstrap/ico/apple-touch-icon-57-precomposed.png" />
    <style type="text/css">
        .form-signin
        {
            max-width: 300px;
            padding: 19px 29px 29px;
            margin: 0 auto 20px;
            background-color: #fff;
            border: 1px solid #e5e5e5;
            -webkit-border-radius: 5px;
            -moz-border-radius: 5px;
            border-radius: 5px;
            -webkit-box-shadow: 0 1px 2px rgba(0,0,0,.05);
            -moz-box-shadow: 0 1px 2px rgba(0,0,0,.05);
            box-shadow: 0 1px 2px rgba(0,0,0,.05);
        }
        .form-signin .form-signin-heading, .form-signin .checkbox
        {
            margin-bottom: 10px;
        }
        .form-signin input[type="text"], .form-signin input[type="password"]
        {
            font-size: 16px;
            height: auto;
            margin-bottom: 15px;
            padding: 7px 9px;
        }
        
        /* Sticky footer styles
      -------------------------------------------------- */
        html, body
        {
            height: 100%; /* The html and body elements cannot have any padding or margin. */
        }
        /* Wrapper for page content to push down footer */
        #wrap
        {
            min-height: 100%;
            height: auto !important;
            height: 100%; /* Negative indent footer by it's height */
            margin: 0 auto -60px;
        }
        /* Set the fixed height of the footer here */
        #push, #footer
        {
            height: 60px;
        }
        #footer
        {
            background-color: #f5f5f5;
        }
        /* Lastly, apply responsive CSS fixes as necessary */
        @media (max-width: 767px)
        {
            #footer
            {
                margin-left: -20px;
                margin-right: -20px;
                padding-left: 20px;
                padding-right: 20px;
            }
        }
        /* Custom page CSS
      -------------------------------------------------- *//* Not required for template or sticky footer method. */
        #wrap > .container
        {
            padding-top: 60px;
        }
        .container .credit
        {
            margin: 20px 0;
        }
        code
        {
            font-size: 80%;
        }
    </style>
</head>
<body>
    <div id="wrap">
        <!--Cabecera-->
        <div class="navbar navbar-fixed-top">
            <div class="navbar-inner">
                <div class="container-fluid">
                    <a class="brand" href="#">Sistema de Gestión Administrativa</a>
                </div>
            </div>
        </div>
        <!--Cuerpo-->
        <div class="container">
            <form id="form1" runat="server" class="form-signin">
            <h2 class="form-signin-heading">
                Por favor ingrese sus credenciales
            </h2>
            <asp:TextBox ID="txtUsuario" CssClass="input-block-level" placeholder="Usuario" runat="server"></asp:TextBox>
            <asp:TextBox ID="txtPassword" CssClass="input-block-level" placeholder="Contraseña"
                runat="server" TextMode="Password"></asp:TextBox>
            <asp:Button ID="btnIngresar" CssClass="btn btn-large btn-primary" runat="server"
                Text="Ingresar" OnClick="btnIngresar_Click" />
            <div class="alert alert-success" id="alertaExito" runat="server" visible="False">
                <button type="button" class="close" data-dismiss="alert">
                    &times;</button>
                <asp:Label ID="lblExito" runat="server"></asp:Label>
            </div>
            <div class="alert alert-error" id="alertaError" runat="server" visible="False">
                <button type="button" class="close" data-dismiss="alert">
                    &times;</button>
                <asp:Label ID="lblError" runat="server"></asp:Label>
            </div>
            </form>
        </div>
        <div id="push">
        </div>
    </div>
    <!--Pie-->
    <div id="footer">
        <div class="container">
            <p class="muted credit">
                Peruana de Combustibles S.A. - 2013</p>
        </div>
    </div>
</body>
</html>
